Files included
------------------------------------------------------------------------------
1. Estimation file (Stata do-file) named 
	calc_TTT1_REStat.do 
	and the respective log files 
	TTT_REStat_A_15102013.log
	TTT_REStat_B_15102013.log

	The only difference between the log files is that "A" produces column 1 of Table 9,
	"B" produces column 2 of Table 9. To implement the change, one has to change from using
	integ_hak_TTT1_REStat.do to using integ_hak_ML_TTT1_REStat.do; see rows 375-379 in calc_TTT1_REStat.do.
 	

2. Stata ado-file ourtobit3_lf.ado for estimating the two-limit tobit of the agency decision rule

3. Stata do-files that perform calculations either for estimation or for implications of the model
	integ_Vpos_TTT1_.do
	pred1_TTT1_REStat.do
	integ_loop_TTT1_REStat.do
	pred2_TTT1_REStat.do
	integ_hak_TTT1_REStat.do
	integ_hak_ML_TTT1_REStat.do

4. Stata do-files for the bootstrap
	ML_99f_bst3_TTT1_REStat.do : this is the file for executing the bootstrap
	MLt_99f_bs43_TTT1_REStat.do : this is estimates the bs - estimations
	MLt_99f_est3_TTT1_REStat.do : this file estimates the point estimates
	ML_99f_ses3_TTT1_REStat.do : this file calculates the confidence intervals
		
5. Stata do-file for CLAD estimation of the Subsidy rate equation (Table A.4):
	clad_tobit_TTT1_REStat.do
	and the respective log file 
	TTT_REStat_clad_10102013.log 

All data manipulation and generation of the final dataset is included in calc_TTT1_REStat.do, but data obtained from Asiakastieto (firm characteristics) and from 
Tekes (application data) have been merged prior to importing them.
 
Comments are included to describe what is done in each part. All the results presented in the paper are labelled accordingly.

Code has been run on Stata/SE 12.1 in Windows XP.


Data
------------------------------------------------------------------------------

Due to the confidential nature of the data, all data resides at Tekes. We have also stored all the Stata-files with Tekes. 
The Stata code has been run by the authors
Use rights to the data can be obtained from Tekes.
You can also contact authors (otto.toivanen@econ.kuleuven.be, tanja.tanayama@kotikone.fi) for any assistance regarding data.


Datasets used
------------------------------------------------------------------------------

Variable descriptions for variables used from the original data est_y_99.dta (generated variables defined in the do-file)
y_tekes			firm id in Tekes data
hakija_yr		dummy for applicant
ei_hakija_yr		dummy for non-applicant
laaniko			code for region
postino			post doce
tol95_2			SIC95 at 2-digit level
emo_y			dummy for parent company
tol_filt		filter for SIC95 codes
ika			age
tol_group		tol_group, verbal


INDUSTRY DUMMIES
agri			agriculture
food			food, beverage, tobacco, sic 15
paper			wood, pulp, paper, sic 20
chemi			chemicals, sic 24
rubber			rubber, plastic, non-ferrous metals, sic 25
metals			metals, sic 28
machine			machinery, sic 29
electric		electric equipment, sic 33	
radiotv			radio, television, data communications, sic 32
otherman		other manufacturing, sic 18
telecom			telecommunications, sic 64
datapro			data processing, sic 72
rahoitus		finance, sic 65
r_d			R&D, technical service, sic74
muu			other, sic missing

REGIONAL DUMMIES
laani01			dummy for Southern Finland
laani02			dummy for Western Finland
laani03			dummy for Eastern Finland
laani04			dummy for city of Oulu
laani05			dummy for Lapland		
laani06			dummy for Aland islands

FIRM CHARACTERISTICS FROM ASIAKASTIETO LTD DATABASE
tuoja			dummy for exporter
vieja			dummy for importer
vietuo			dummy for exporter & importer
hlolkm00		#personnel in 2000	
alvuosi			year of establishment
hallitus_koko		Board size
tj_pj			dummy for CEO chairman of the board
appllkm_2000enn_plvara 	# previous applications
tase_99			assets in 1999
lv_99			turnover in 1999


APPLICATION CHARACTERISTICS	
projekti_id		project id (of project application to Tekes)
laina_ti		(soft) loan / planned R&D investment
polaina_ti		capital loan / planned R&D investment
avustus_ti		subsidy / planned R&D investment
hyv_kust		accepted R&D investment in euros


haaste_id		challenge, index

riski_econ_id		economic risk, index
riski_human_id		human capital risk, index
riski_markets_id	market-related risk, index
riski_tech_id		technical risk, index

teknl_uutuus_id		technological newness, index
teknl_markas_id		technological position in markets, index
tutk_osap_lkm		#R&D partners
yr_osap_lkm		#corporate partners
vuosi_markkinoille	years to market

haettu_a		applied subsidy amount in euros
haettu_e		applied subsidy through EU structural funds
haettu_l		applied (soft) loan
haettu_l2		applied capital loan
myon_a			granted subsidy amount in euros
myon_e			granted subsidy through EU structural funds
myon_l			granted (soft) loan
myon_l2			granted capital loan
haettu_kust		applied amount, in euros

FIRM CHARACTERISTICS FROM TEKES DATABASE
lv_99_t			turnover in 1999
hlo_lkm_99_t		#personnel in 1999
tk_kust_99_t		R&D investment in 1999 (from balance sheet)
tase_99_t		total assets in 1999
osakepoma_99_t		equity in 1999
eu_kokolk_99_t		EU-size class in 1999
tilik_pit_99_t		length of accounting year in 1999
liiketul_99_t		profit in 1999
tilik_voitto_99_t 	accounting profit in 1999
